<template>
  <tab-bar>
    <tab-bar-item path="one">
      <img slot="item-icon" src="./img/001_03.png" alt="">
      <div slot="item-text">首页</div>
    </tab-bar-item>
    <tab-bar-item path="two">
      <img  src="./img/002_03.png" alt="">
      <div slot="item-text">发现</div>
    </tab-bar-item>
    <tab-bar-item path="three">
      <img slot="item-icon" src="./img/003_03.png" alt="">
      <div slot="item-text">消息</div>
    </tab-bar-item>
    <tab-bar-item path="four">
     <img slot="item-icon" src="./img/004_07.png" alt="">
      <div slot="item-text">我的</div>
    </tab-bar-item>
  </tab-bar>
</template>

<script>
  import TabBar from './TabBer'
  import TabBarItem from './TabBarItem'
  export default {
    name: 'MainTabBar',
    components: {
      TabBar,
      TabBarItem
    }
  }
</script>

<style scoped>
</style>
